package com.wpp.rpc.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class MessageList implements Serializable {
    private List<Message> list;

    public MessageList() {
        this.list = new ArrayList<Message>();
    }

    public void addMessage(Message message) {
        this.list.add(message);
    }

    public List<Message> getList() {
        return list;
    }
}
